const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,
  devServer: {
    host: '127.0.0.1',
    port: '9999',
    proxy: {
      '/api2': {
        target: 'https://m.you.163.com',
        pathRewrite: { '^/api2': '' },
      },
      '/api': {
        target: 'http://sph-h5-api.atguigu.cn',
        // pathRewrite: { '^/api': '' },
      },
    },
  },
})
